/*
 * Copyright @ 2022 bingye
 * com.example.demo.service.impl 17:26
 * All right reserved.
 */

package com.example.demo.service.impl;

import com.example.demo.dao.TUserMapper;
import com.example.demo.entity.TUser;
import com.example.demo.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @desc:
 * @author: admin
 * @createTime: 2022/3/30 17:26
 * @version: v1.0
 * 用户实现类
 */
@Service
public class UserServiceImpl implements IUserService {

    @Resource
    private TUserMapper userMapper;
    @Override
    public List<TUser> queryAllUser() {
        return userMapper.selectAll();
    }
}
